package org.infodavid.common.notifier;

import java.io.Serializable;

/**
 * The Interface IAttachment.
 */
public interface IAttachment extends Serializable {
  /** The Constant DEFAULT_ENCODING. */
  public final String DEFAULT_ENCODING = "UTF-8";

  /** The Constant DEFAULT_MIME_TYPE. */
  public final String DEFAULT_MIME_TYPE = "text/plain";

  /**
   * Gets the mime type.
   * @return the mime type
   */
  String getMimeType();

  /**
   * Sets the mime type.
   * @param value the new mime type
   */
  void setMimeType(String value);

  /**
   * Sets the data.
   * @param value the new data
   */
  void setData(byte[] value);

  /**
   * Gets the data.
   * @return the data
   */
  byte[] getData();

  /**
   * Sets the name.
   * @param value the new name
   */
  void setName(String value);

  /**
   * Gets the name.
   * @return the name
   */
  String getName();

  /**
   * Gets the description.
   * @return the description
   */
  String getDescription();

  /**
   * Sets the description.
   * @param value the new description
   */
  void setDescription(String value);

  /**
   * Gets the encoding.
   * @return the encoding
   */
  String getEncoding();

  /**
   * Sets the encoding.
   * @param value the new encoding
   */
  void setEncoding(String value);
}
